package com.tangtang.security.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.tangtang.security.dao.SysResourceMapper;
import com.tangtang.security.dao.SysRoleMapper;
import com.tangtang.security.dao.SysRoleResourceMapper;
import com.tangtang.security.dao.SysUserMapper;
import com.tangtang.security.dao.SysUserRoleMapper;
import com.tangtang.security.dao.SysViewMapper;

@Component
public class MapperContainer
{
	@Autowired
	private SysResourceMapper		resourceMapper;
	
	@Autowired
	private SysRoleMapper			roleMapper;
	
	@Autowired
	private SysUserMapper			userMapper;
	
	@Autowired
	private SysViewMapper			viewMapper;
	
	@Autowired
	private SysRoleResourceMapper	roleResourceMapper;
	
	@Autowired
	private SysUserRoleMapper		userRoleMapper;
	
	public SysResourceMapper getResourceMapper()
	{
		return resourceMapper;
	}
	
	public void setResourceMapper(SysResourceMapper resourceMapper)
	{
		this.resourceMapper = resourceMapper;
	}
	
	public SysRoleMapper getRoleMapper()
	{
		return roleMapper;
	}
	
	public void setRoleMapper(SysRoleMapper roleMapper)
	{
		this.roleMapper = roleMapper;
	}
	
	public SysUserMapper getUserMapper()
	{
		return userMapper;
	}
	
	public void setUserMapper(SysUserMapper userMapper)
	{
		this.userMapper = userMapper;
	}
	
	public SysViewMapper getViewMapper()
	{
		return viewMapper;
	}
	
	public void setViewMapper(SysViewMapper viewMapper)
	{
		this.viewMapper = viewMapper;
	}
	
	public SysRoleResourceMapper getRoleResourceMapper()
	{
		return roleResourceMapper;
	}
	
	public void setRoleResourceMapper(SysRoleResourceMapper roleResourceMapper)
	{
		this.roleResourceMapper = roleResourceMapper;
	}
	
	public SysUserRoleMapper getUserRoleMapper()
	{
		return userRoleMapper;
	}
	
	public void setUserRoleMapper(SysUserRoleMapper userRoleMapper)
	{
		this.userRoleMapper = userRoleMapper;
	}
	
}
